package com.design.bridge;

/**
 * @Author: ChengLei.Liu
 * @Date: 2020-07-22 09:37
 * @Description: 桥接模式 把具体实现和抽象分离
 */
public class Test {
    public static void main(String[] args) {
        Phone foldPhone = new FoldPhone(new XiaoMi());
        foldPhone.call();
        foldPhone.open();
        foldPhone.close();
    }
}
